package main.com.yyx.pool;

/**
 * 数据库连接池工厂
 * <p>
 * 单例模式
 */
public class MyPoolFactory {
    private static ComboPooledDataSource myPool = new ComboPooledDataSource();

    private MyPoolFactory() {

    }

    public static ComboPooledDataSource getInstance() {
        return myPool;
    }
}
